var send = {};

send.ids = ['name', 'request'];

send.getHeight = function () {
    var height = $(document).height();
    window.parent.index.iframeResize(height);
}

send.getData = function() {
	var param = common.GetParameters();
	if (param != null && param.hasOwnProperty("type") && param.type == "update") {
		var url = "";
		var reqData = {};
		reqData['id'] = id;
		reqData['flag'] = 3;
		var req = new common.Request();
		req.sendMethodRequest("get", url, reqData, function(e){
			if (e != null && e.isSuccess) {
				
			}
		}, function(e){
			
		});
	}
}

send.submit = function () {
	$('#submit_button').click(function(){
		var sendSubmit = function() {
			var url = "";
			var reqData = {};
			var req = new common.Request();
			req.sendRequest(url, reqData, function(e){
				
			}, function(e){
				
			});
		}
		var ver = new verify.login(send.ids, 'empty_style', function(){
			new sendSubmit();
		}, function(){
			
		});
	});
}

send.init = function() {
	try {
		send.getHeight();
	} catch (e) {
		
	}
	send.submit();
	send.getData();
}

$(document).ready(function() {
	send.init();
});